# -*- coding = utf-8 -*-
# @Time : 2023/3/11 15:31
# @Author : 龙王赘婿_彪少
# @File : demo1.py
# @Software: PyCharm

# 功能：

import struct

def fun():
    NUM_MAX = 94
    NUM_MIN = -34

    num = 0.0



    while (num <= NUM_MAX):
        temp = struct.pack("f", num)
        print(f"num={num}, hex={temp}")
        num = num + 1


if __name__ == "__main__":
    fun()
